<!--预防接种记录模块-->
<template>
    <div>
         <!-- 头部 -->
      <van-nav-bar title="接种记录" left-text="返回" @click-left="onClickLeft" left-arrow>
        </van-nav-bar>
    
    <div  v-if="state" class="myinfo">
        <p>预防接种记录</p>
        <p>(Vaccination Record)</p>
        <van-cell value="个人信息" class="person" right-icon="location-o" /> 
        <van-cell-group inset>
        <van-cell :title="item.idtype" :value="内容" :label="item.id" v-for="(item,i) in arr" :key="i"  class="myclass" />
        </van-cell-group>
        <span class="footerdeep">状态：{{stated}}</span>
    </div>
    <van-empty v-else  description="暂无记录" />




    </div>
</template>
<style scoped>
    .cla{
        margin-left: -100px;
        /* ID No   Name  Gender */
    }
    .myclass>div:nth-child(1){
        
        /* border: 1px solid red; */
        width: 20px !important;
    }
    .myclass>div:nth-child(2)>span{
        /* border: 1px solid red; */
        display: block;
        text-align: left;
    }
    .van-cell__value>span{
        font-size: 16px;
    }
    .myinfo>p:nth-child(1){
        margin-top: 5px;   
        font-size: 18px;
    }
    .myinfo p{
        text-align: center;
    }
    .myinfo{
        display: block;
        border: 1px solid rgb(199, 199, 199);
        width: 90%;
        margin: 0 auto;
        border-radius: 10px;
        /* background-color: rgb(230, 230, 230); */
    }
    .footerdeep{
        display: inline-block;
        position: fixed;
        right: 50px;
        margin-top: -20px;
    }
</style>

<script>
var arr = [{idtype:"证件类型",id:'ID Type'},{idtype:'证件号',id:'ID No.'},{idtype:'接种者姓名',id:'Nmae'},{idtype:'性别',id:'Gender'}];
export default {
    data(){
        return{
            arr,
            value:'',
            stated:'完成',
            state:''
        }
    },
    methods:{
        onClickLeft(){
            history.go(-1);
        },
        checkstate(){

        }
    },
    mounted() {
        
    },
    
}
</script>